Switched to Encode for UTF-8 decoding.
Added two new methods ('pi' and 'sqrt_n') for the Number object.