Convert all ublas vectors and matrices to std::vector and
boost::multi_array objects unless they are actually used for linear
algebra functions. Also switch to absolute namespaces (no "using
namespace" commands).