Add rank0 and rename rank to rank1. [skip ci]
Add rank0 and rename rank to rank1. [skip ci]
Update tests
Update benchmark.cpp
Merge branch 'master' into feature/wavelet-matrix