Calculate the Schnorr signature of the passed transaction and input index This function does not update the transaction.