Added matrix multiplication, xyImg for corner detector