Added new metrics and fixed Reliability

* Added EDS, SEDS, SEDI
* Bug fix in EDI
* Fixed reliability legend when -leg is used
Allow '-b below' and '-b above' in reliability diagram