added feature scaling