For a complex number of the form a+bi, IMSINH implements the following equation:
However, IMSINH determines if b=0 and in this case simply returns sinh(a).