More changes to auto-cal section. I fixed equation maxcal.