Explain the trade-offs between hardware and software implementation in embedded systems at Lockheed Martin.