Self-Consistent Electro-Thermal Approach for Terahertz Frequency Multiplier Design