Changed PI to Math::PI due to changes in the constant lookup rules