use fmt.Errorf() instead of errors.New(fmt.Sprintf())
fix bad printf verbs for float types
drop unneeded _ in range
Merge pull request #16 from dgryski/go-vet-lint-fixes

Some small fixes from 'go vet' and 'golint'