Implemented basic bandstructure generation.