parser is working for simple matrices and variables