Fixed histequal to return result with same dims as input
Fixed histequal to return result with same dims as input

It was internally doing a flat on input, which was not reshaped
to original dimensions once the operations was done. It is fixes now.

Keno/arrayfire,linan7788626/arrayfire,victorv/arrayfire,pentschev/arrayfire,munnybearz/arrayfire,pentschev/arrayfire,merlin-ext/arrayfire,jramapuram/arrayfire,9prady9/arrayfire,HolyGeneralK/arrayfire,umar456/arrayfire,victorv/arrayfire,asifmadnan/arrayfire,bkloppenborg/arrayfire,HolyGeneralK/arrayfire,marbre/arrayfire,linan7788626/arrayfire,HolyGeneralK/arrayfire,ghisvail/arrayfire,merlin-ext/arrayfire,pombredanne/arrayfire,bkloppenborg/arrayfire,mrgloom/arrayfire,arrayfire/arrayfire,asifmadnan/arrayfire,Keno/arrayfire,unbornchikken/arrayfire,Keno/arrayfire,shehzan10/arrayfire,hshindo/arrayfire,merlin-ext/arrayfire,marbre/arrayfire,hshindo/arrayfire,bkloppenborg/arrayfire,arrayfire/arrayfire,ghisvail/arrayfire,victorv/arrayfire,HolyGeneralK/arrayfire,unbornchikken/arrayfire,arrayfire/arrayfire,arrayfire/arrayfire,unbornchikken/arrayfire,pentschev/arrayfire,munnybearz/arrayfire,pombredanne/arrayfire,mrgloom/arrayfire,munnybearz/arrayfire,merlin-ext/arrayfire,mrgloom/arrayfire,jramapuram/arrayfire,9prady9/arrayfire,pombredanne/arrayfire,9prady9/arrayfire,hshindo/arrayfire,umar456/arrayfire,umar456/arrayfire,umar456/arrayfire,9prady9/arrayfire,ghisvail/arrayfire,asifmadnan/arrayfire,linan7788626/arrayfire,bkloppenborg/arrayfire,linan7788626/arrayfire,victorv/arrayfire,pentschev/arrayfire,shehzan10/arrayfire,pombredanne/arrayfire,jramapuram/arrayfire,Keno/arrayfire,unbornchikken/arrayfire,marbre/arrayfire,ghisvail/arrayfire,mrgloom/arrayfire,shehzan10/arrayfire,jramapuram/arrayfire,asifmadnan/arrayfire,marbre/arrayfire,hshindo/arrayfire,shehzan10/arrayfire