Change unsigned ints to ints

In order for negative positions to work as a delay unsigned ints cant be
used.