Change rbgs.c

Change way to manage number in borders.
Parallel solution of Jacobbi.

Signed-off-by: Gustavo Toshi Komura <gtk10@c3sl.ufpr.br>