fixed minor things in max margin and minnorm program