add elementwise multiply and inverse operation to SparseVector