Major refactorization
Binary and unilevel trees are refactored
Binary and unilevel trees are refactored
Unilevel matrix implemented
Unilevel matrix implemented