JNI Wrapper: Implemented a WaveReader class to be used in the JUnit test code.