Added constructor for pi constant