start on angle fit
return minimum and maximum b when giving an array as input