Mapped_file: add more types
Surfaces: type specialization of min/max functions
Updated some notes
Merge branch 'master' into line-simplification