Added working decimate function
exporting new multirate functions
Added test code