Investigating effects of histone tail modification on chromatin compaction in nucleosome arrays