some bugfixes
Ported the new stuff into ROOT plots, matplotlib ones need changes
Merge pull request #22 from senkin/master

experimental -> src