Updated bias
Updated bias analysis for running with batch. It will now save a figure.
Fixed errors.
Put in bias