Use struct literal syntax
Fix some method names

- scanTable is redundant (it's a FactTable method)
- Indicies -> indices
Fix some error checking