Extended the support to vectorial varaibles
Fixed bad round of negative numbers