Cleaner version of the code, to obtain Relevance Vector of only orientation masks

Signed-off-by: Guillermo Hernandez <0w3w4u@gmail.com>