Added probabilistic weighting for the angular part

Spatial support coming soon. And more documentation/comments/stuff.