added logL matrix to append function