v. 1.3-3: PIM and BB tools are feature complete!

Minor updates and code tidyup. Also, added classing and checking to
pim_parse and pim_sum.