updated reference to math lib