Fixed tokenAmounts and numToken being left uninitialized when calling the constructor