Removed unused method
Made work with removed 2d/3d distinction
Made work with removed 2d/3d distinction
Removed unnecessary method.
Added method to return number of 2d/3d elements