Merge pull request #19 from xoppa/master

Remove template specialization
Add error when no material