Update to Main.cpp

Included new code for the accelerometer code as well as the openCV code
to read in a second frame after a user presses the 'c' key (for
continue).