Text this: Approximating piecewise nonlinearities in dynamic systems with sigmoid functions: advantages and limitations