adding Reset_Theta to block_diagrams.py for psoc