Using constant instead of local memory for the weights.
The local memory implementation now uses a register less.