Core: accelerate coordinate transform and data aggregation
Lots of time is spent in computing trigonometric expressions that result in perfectly smooth function. Perhaps this can be accelerated using Tchebycheff interpolation.
Precondition: automatic tests must be available.