Added Matlab Code to LaTeX (automatically updated), style corrections.