Updated gravity so that it's independent of fps