Remove penalty array dependency from create clefs function