Corrected the class structure 

No longer needs a string to create a pi value