added moshfeghi method for closest distance with restriction to facenormal direction