Updated tests and reference to match netlib behavior on negative increments, except Idamax returns -1