How can we derive free-orientation direction formula ?

@Marijn thank you for your response. Since stc is an estimated source estimate, so we are saying the same thing. But their approach is different than ours. Furthermore, I think MNE is also going this way. But how?