Added function to align two 3d vectors