Fix the indexing on the coefficient levels in compinference.m