Changed to use java's PI constant.