- problem matrix index starts with 1 not 0