Improved macro object with session method handling and automatic
extraction of options from function call parameter names
Fix savitzky_golay unit calculation error