Added more routines to CRP procedure. New maths file. Modified makefile, everything compiles