add catches for case when vector is ==0 in any direction