Bias added

Also, fixed some little things