added get angle and dot product