Improve DIMS and update DIMS eveywhere in the code...

Decrease memory usage of corr_vect.x

proj_vect_to_line.f90 !!!