- added function to determine if a vector is within a sphere (defined by a point and radius)