Modified lookup functions to have idx_used, cleaned things
Added the testbench things to mips cache opts