changed get_pi implementation

use boost::math::constants::pi<float>()