use integer division to avoid float amplitude
replaced struct with array
bumped version to v0.1.6