Defined pi to be 3.1416 if M_PI is not defined.