Added All Functionalities. Memory leak issues with libSVM
Clean ups. Updated LibSVM wrapper but memory leak persists