Fixed the translation of continuations into two argument lambdas in order to call continuations from functions