Replaced 3.14159 with pi