adding updated m file, read me, etc.