A new intelligent ultrasonic flowmeter for hydropower applications