Make matrix use doubles
Add tpie and stxxl as submodules
Fixes for tpie/raster.h.