Study of Geomagnetic Field Reversals using the Mellin Transform