Matlab LP code