Add phys.h - basic physics templates and functions