Creates optimal rectangle area around points
minBB(points, buffer = 0, epsg = 25832)SpatialPoints: Corners of the flight area
The code is based on a Rotating Caliper Algorithm and mostly copy and pasted (see reference)
http://dwoll.de/rexrepos/posts/diagBounding.html