#include <gr_convert_FS.h>
#include <math.h>
convert array of floats to shorts with rounding and saturation.