Create magnitude.py

Simply outputs magnitude
Cleaning up repo