Function returning changes in a smoothed profile
get.change(smt)
smt
smoothed profile
a vector of changes including n