Docs for shiftdata say "if datain given, returns dataout,lonsout" Actually returns lonsout, dataout