Add perpetual code

@mortenvp @janusheide I will try to update this branch with the master. We should release perpetual NC soon.
Normally we don't used multiple character indices or abbreviations. So to keep consistency with the either change to `int j = 0` or `int column = 0`.