Calculates the vector projection of two vectors.