Fixed bug in tmp_rotate_model.py

- Another minor change in imfilter.py got swept up too.