move M_PI definition along with other math definitions