length=√sum of the squares of three coordinates
a vector=(a,b,c)
then the length of a is √(a^2+b^2+c^2)