few modif for processing2D interface, added ref mass etc..