Implemented a simple function to obtain full edges information

This functions provides with both magnitudes and directions information. This could be very useful in order to implement the canny operator.