Switched from a local variable to a language constant for pi