Implementation and mathematical analysis of handoff algorithms in an envisioned 4G multi network environment