made monitor read batch size from right axis (update to handle new
ability to make axis other than 0 be batch index)