some physics stuff, replacing all pi unicode with 'pi'