Improved networking

Improved interpolation
Fixed network bugs.
Added delay for input.