Physical Layer Algorithms for Reliability and Spectral Efficiency in Wireless Communications