Added function is.waveband() and fixed a couple of small bugs.