Implemented LQI. Receive function working but bugged.