clean up and test desoto and singlediode. needs more work