Library of physics functions and constants