initial commit of matlab parallel gradient code