Code refactored.

- Refactored code in dim_met.class.php.
- Renamed categories.
- Added a few attributes.