This module provides routines for the Monte Carlo simulation
Find and return the apocentric and pericentric distances
Calculate the distance using R and Z coordinates