matrix: Add arguments check to get_value()
matrix: Add arguments check to get_value()

When I moved the function from being an internal helper to public API I
forgot to add validation checks on the arguments.

ebassi/graphene,criptych/graphene,criptych/graphene,criptych/graphene,ebassi/graphene,criptych/graphene