Fixed bugs in winter-summer inverse_model