Added dimensions command to commands.c
Merge branch 'master' into dimensions-command