Added an exception for receiving a Control C signal.
Now the numpy data array's are saved into a .mat file
if the Control C is sent.