Minor tweaks, updated builder perovskite example to use new Lattice class
Merge commit 'd4c5eb1fb6ae6216c3162d09545843b6db1b0bf2' into feature/new-classes