fixed a bug in the binning procedure:  q_out, q_side, and q_long can be negative