Added bias and fixed weight stuff.