Added support for the different gravities, also additional documentation.