Latentsvm caskad independent

code latentsvm cascad with no dependencies latentsvm