BugFix: implement SVMModel so that it can work correctly