attempt to infer matrices as nested vectors