refactored vector operations
sparse vector operations, smvm