Fixed TMVEncoder getCell method.