Checks for >0 values for NumShares and MaxPrice

takes care of issue #34