Add a class for physics calculations