Add LICENSE to project
Update README
Refactor code.  Change syntax from Octave to Matlab