changed floating points to doubles (runs at approximately half speed, still can process 3 channels on 20 antennas in realtime)