altoslib: Add user-selectable filter width for data smoothing