bpic lib compiles ok

graphics don't work, though
move pic examples into their own subdir in examples/external

this mirrors the directory structure in libs/external
remove some cruft from the end of the bpic lib

I think it works!
bpic example tweaks
remove extraneous paren
add a couple of uncagegorized tests
add {row,col}maj_idx functions to math lib