Algorithms for Marine Mammal Modelling and an Application in Ramsey Sound