Theoretical calculations of defect states in amorphous semiconductors