Commented and cleaned physics class