fix for accomodating older minpack versions... now working with scipy older that 0.12