innerProduct function

Inner product of 2 vectors and computes the angle between vectors