'hydroPSO' function: argument 'method' now allows 'canonical'. 'fn' argument now can be function or character