An approach to measureing and grading software trust for spacecraft software