improved logic again, it will now work in any case (same signs, opposite signs, etc.)

added some starting stuff for measuring loop time and adjusting max change

comments, notes for future dev