error.margins function

Extracts the deviation between every target and generated margin