The angle constant was wrong by a factor of two
added version
added segmap and resnmap back. not sure where they went in the meantime, but i cannot find the old version
git is acting strangely. i got the progressbar from a pull, but it seems to have forgotten