Fixed forgetting to declare matrix