move sensor matrix to config, remove some testing code