Added subtraction function to ECC