Overlap detection fixed.
Added data collection for rotations.