Create sparse vector class