Use Whitebox GAT to produce SPI and TWI. To calculate these indices use Specific catchment area (sca) without log transformation instead of simple Flow Accumulation. The SCA is also available in Whitebox GAT. A manual calculation of TWI using the raster calculator may generate too many no data value pixels. Whitebox GAT has the capability to avoid this.