testing out initializing Q matrix