Added send to localhost and renamed send functions, made last_time global
Changed to UDP port, added time_delta for length
Added further balance_point calculations for clusters, renamed functions