Adding static const qualifier to mixing parameter. This is likely temporary. Also removed some old debug code that had been committed.