Copied Matlab Functions

Copied functions from Dropbox to Github