Added C and Matlab source files