fixed the spelling mistake
made definition a little clearer
output name change

also made loopdepth variable static
fixed array name variable

fixed variable name (arraytype)
added result local variable

uncommented banerjee test
changes to banerjee test