gabriel matrix parser