passing a 3D array of shorts as an argument to a c function from C# - C#