comp_mass
Compute the Magnet mass (by analytical computation)
self (Magnet) – A Magnet object
M – Magnet mass [kg]
float