Adding standard deviation helper to matrix prototyp