Updated LOCASModel class to calculate the chi-square (rough estimate)