Algorithms for fast least squares noncoherent QAM detection