This is my code for my master thesis. Cite me if you are using any of this code: Ingvild Aukan Master student at University of Oslo, Department of Geosciences Mail: ingvisau@student.uio.no