The geology of the Elgin district