Mathematics: Shape, space and measures