Rename modeM_v1.c to modeM_v1.cpp