Added option to change centre of rotation. Made rotation work better.