added SCUtility.java
show dual gradient energy