Tha is not how this works.
Please read (already linked, but I am not sure you read it)
point 4.
I will especially not download source code, files and do a full setup of stuff to maybe reproduce your error locally – because it might also just be that our setups are different or so.
For the error you currently get: Yes, that tells you that the two elements of your vector are matrices and the function we already wrote for you expects a vector of two SVectors.
So maybe think about how you can turn your two matrices into SVectors. That is probably domain specific.
In general, this interpretation of the error message is no magic, please learn how to read them, then you can infer that yourself.