cupid: Add support for JSACAT parameter to other apps
cupid: makecube can now create NDFs with degenerate pixel axes

Previously, it tooks ages to run and then reported an error "all clumps
touch an edge of the output array".