- cleans up matlab code
- adds matlab example