Fixed some margins and added some documentation for the autonomous functions.