added sample weight to fit command