check for empty list
precision
Merge pull request #38 from mdahm/master

precision