A linear algebra package for HSS matrix based algorithms