Physics fixes and nogc/pure tagging of physics functions