Fixed rotation calculation. Added fixed block.