correction to allow use of planetoplot without scipy (which is only needed for smoothing).