This function is a simple gain block with optional offsets on the input and
the output. The input offset is added to the input, the sum is then
multiplied by the gain, and the result is produced by adding the output
offset. This model operate in DC, AC and Transient analysis modes.