added rotation function using prey location as center. Can be needed for encoded grids