Bugfixes and minor additions.

build_rho works in serial at least.

build_h_matrix had a ntype-related bug.
Bugfix: no projs then no bec