fixed bug with the bias kernel.
Merge branch 'debug_bias'