Mathematics for Geologists