Added linear and smooth scalar interpolations.