further fix to stop warnings.  need to cast numpy 8bit observations into ints apparently to use as python list indexes