Model-Based Statistical Depth For Matrix Data And Hypothesis Testing For Comparing Point Processes