Rotational Plane Sweep algorithm implemented in MATLAB, used to calculate the visibility graph