Additions, deletions and tweaking

Added TPAToMatrix
Deleted all the Boolean Matrix crap - they weren't that useful!
Tweaked the old TPAFromMatrix stuff.