Updated find_weights

formating output to file