Fixes #2, fixes issue with compositesUpTo

- #2 should be fixed now
- Fixed an issue where compositesUpTo would have IndexError for values
<= 4