Fixed issue with taylor series at non-existant points.