Add square-wave function.
Update README for 0.3.0.