Added Magnitude calcs. (First cut)