A Formal Specification Framework for Designing and Verifying Reliable and Dependable Software for CNC Systems. (22nd June 2014)