Merge pull request #15 from ulrikaugustsson/master

Updated constructor