Try to fix calculation bug in matrix for scheduled solutions