small fixes to index and moved index statistics section from indexes to algebra
moving stuff within algebra