Energy calculation & several other conversions