Fixed bug with sample rate convertor by adding normalize function