fixed imports in grainpanel.py; fixed import in rotations test