Improve polar histogram

Improved polar histogram demo with extra cases:
One where the ends do not meet.
One where the range is beyond 360° and is fully connected.