fix up a few zero-boundary condition errors in TempoMap