Quick cleanup and documentation augmentation

Made some quick changes to account for recent code rewrite and added
documentation to test_smoothnet.m.