Network Calculations on server

Meant to fix desync on clients