update array when shape is rotated

i've added this function to blockControl but at the moment i haven't
called it anywhere.

it should make it easier to do the border confinement stuff though...