Update docs to bootstrap 3
Convert matrices to C memory layout on output, if needed