Add more decodeN functions up to 8. Closes #3.