Convenience method, not optimized for performance.
procedure transformPoints(const xValues: TArray<Single>; const yValues: TArray<Single>)