first iteration matrix for  Danny