Fix bug with PhaseSI function (at DLL level) taking Output parameter as first parameter

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>