fix #71, fix bug in cfg

- delete double usage of parameter pos_e.period
- fix current bug
Merge pull request #72 from psychocoderHPC/fix/currentCalculation

Fix #71 current calculation