extract-odm function

Pull a submatrix into memory using the [[ operator.