bug fixes in factor graph compilation; simple scala->moro generation