Removed duplicate get_avg_pos function.
Bugfix in area_destination.
Created functions that returns whether a simplex is safe or unsafe to edit.
Made the log a protected member of the Log class.
Added a max_diff function to utility.