Add perpetual code

@mortenvp @janusheide I will try to update this branch with the master. We should release perpetual NC soon.
I think it would be nice to show some examples how how the vectors are supposed to look like with pre-charging and pseudo-systematic..