Functional Safety, Second Edition: A Straightforward Guide to Applying IEC 61508 and Related Standards