Fix for issue #81 (needs testing).

* Reenabled 3d Bravais lattices.
Made TBLattice work again.

Fix proposed by Malte Harland.