Introduced dy for loc_t and map_t. Now DM can run with non-equal spacing between x/y by
setting dm.ar (aspect ratio). dy=dx*dm.ar.
Improve DM fitting by combining loops into larger kernel.
Removed a long standing bug that caused random crash due to no boundary check in cubic prop in cuda
Passed cuda-memcheck.