Offloading in Mobile Edge Computing: Task Allocation and Computational Frequency Scaling | Synapse