initial nmf consensus and testing code