Latentsvm caskade

reopen PR #3