Updated the HS ancillary curve builder script

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

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