rewrote osw functions to use int instead of float and adjusted
parameters for damping