Revert "use numpy for pi value instead of hard coding"

This reverts commit a7ba050ae7952039e1d6b903d3fec99776ecaff8.