Finalized DM fit improvement with cuda for GPU
Migrated MVM to dmat from dcell.
Migrated tomo, fit to oop design.
solve.c contains basic interface class. tomo/fit implementes these interface.
Extrace common ray tracing routines out from fit. Reuse in tomo and moao.
Fixed moao implementation in GPU.
Fixed tomo when pos!=1 or 2
When -o is not specified, do not save anything to disk, instead print out the total wavefront error.
maos_check.sh to check maos in different modes.
1) Fixed DM actuator slaving. Now very effective in CBS mode. Fixed DM actuator interpolation. Now also works in CBS mode.
2) Fixed FDPCG mixed over sampling mode in GPU. was broken.
3) Turned cp2gpu to a template and various cleanups.
CUDA could didn't have openmp enable due to missing compiler options for nvcc. Fixed.
Fixed performance degradation due to malloc pinned memory.
Disabled using fit.actinterp when fit.actslave is in use. Causing problem in CPU mode.
Fix openmp issue.