Updated getVolume() method. Added a bunch of demos.