Add perpetual code

@mortenvp @janusheide I will try to update this branch with the master. We should release perpetual NC soon.
Should this file be in the rlnc folder with all the other perpetual files?