adding in sanity check for the normalized vector