Fix #1: work with hmatrix 0.16