Improve error handling of all setters.
Added basic plotting module/function.
Sine wave generation test works.