finishing pulsewaves::readWaves()