Added mask shape check
Added mask shape check

matthieudumont/dipy,demianw/dipy,StongeEtienne/dipy,demianw/dipy,beni55/dipy,nilgoyyou/dipy,villalonreina/dipy,sinkpoint/dipy,FrancoisRheaultUS/dipy,beni55/dipy,samuelstjean/dipy,samuelstjean/dipy,oesteban/dipy,nilgoyyou/dipy,villalonreina/dipy,rfdougherty/dipy,matthieudumont/dipy,sinkpoint/dipy,mdesco/dipy,JohnGriffiths/dipy,Messaoud-Boudjada/dipy,jyeatman/dipy,StongeEtienne/dipy,samuelstjean/dipy,Messaoud-Boudjada/dipy,rfdougherty/dipy,JohnGriffiths/dipy,mdesco/dipy,jyeatman/dipy,oesteban/dipy,FrancoisRheaultUS/dipy