update/render of layer is removed. clear is added.
minor modifications

*coefficient of restitution has been static variable
*penetration depth handling only for non-fixed object.