Added initial support and check for edge to edge dimensions and angles
Improved angle algorithm and fix for command.cpp