Added a test BGrid, added code for calculating FGrid using rw, added some plotting to Main, should probably be moved to some function