removed unused and unmaintained units index map and index units functions

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>