Replaced fail with panic macro
Merge pull request #237 from leonkunert/master

Replaced fail with panic macro