Cyklus for koordinattransformation