typedef for number type used to allow changing easily, extra accurate pi and e through functions for long double