Latentsvm

Minor fix to sample code