fixed calculation error, formatted and rounded power output