Updated to deal with memory limits for MIROC4h, code tidyup