Mathematical Simulation of Indoor Wireless Networks