Added power calculation and corrections for port velocity.