Added new validation to new SDM.  Many bugs to be fixed.