Adding base creation, bug correction.

* You can now create base using a relative position.

* Correcting a bug where the radius were not well used while calculating if a location were or were not in a base.