Freelancer:
vectordot
As instructed.
Need feedback.