Added a _functional_ method to make ghost corner points
Cleaned the code redundancies