Added a warning for low curvature.
Fixed a bug in the calculation of intermediate bandwidths.