Added a math sanity check script