This function called calc_axis
takes in a NumPy array arr
and an :code: axis argument.
Depending on the value of :code: axis, the function calculates the mean and standard deviation of the values
in the array along a specific axis.
Input: arr = array-like , x = 0 , 1 , boolean
Output: array-like