trees can handle sparse input now

Code format correction
Updated regression tree code
New InstancesReader