Given the matrices A =#((2,1),(3,-4))# and B = #((p,q),(q-1,-q))# and C =#((4,5),(-5,13))# are such that AB = C.Find the values of p and q.