CIDEVMI-948: adcp functions - improved performance by replacing forloops with np.einsum


@s-pearce Ready for review and merge.
@cwingard Ready for review and merge.