modified some function tools from SAMCL.java to Transformer.java.
modifying the Drawing function in SAMCL.