Merge pull request #9 from maxziv/master

bug fix on padding
header fix
fixed untracked files