Adding delta and fix physics step