Python script to calculate missing data in nexus format morphological matrix