New math mapgen