Finding the length and unit vector
click for tips