function mag,vector return,sqrt(total(vector^2.0)) end