Major error fixes in modules for interpolation error detection