Re-adding the coefficient cap to the diosolver. Fixing a masage bug.