Optimized smoothings and added master parameter in headers

Current optimized 1D smoothing parameters are used.