Add demo minErr in circular dependency checker
Rename everything to minerr