RAF implementation

RAF algorithm is now ready to process nets