PROFILES IC and BC interpolation modified