***RE-PRINT*** The foundations of mathematics; a contribution to the philosophy of geometry