add randomized test skeleton for LookupTable
change variable names for preciseness, fix constness, typedef correct boost index
fix lookuptable c++ modulo bug