(a) If it is established that a secured party is not proceeding in accordance with this article, a court may order or restrain collection, enforcement, or disposition of collateral on appropriate terms and conditions. (b) Subject to subsections (c), (d), and (f) of this section, a person is liable for damages in the amount of any loss caused by a failure to comply with this article. Loss caused by a failure to comply may include loss resulting from the debtor's inability to obtain, or increased costs