Bug with total space dimension fixed
Fixing some bugs
Initialization with pair of basises