give the function two matrices, on matrix with bar peak heights, the other matrix with error bar lengths.
See the commented section in the function code for example code to test it with
based on code from: http://illigal.blogspot.com/2005/01/matlab-script-for-3d-bar-plot-with.html
had an error again, sorry, heres the update
had some errors in the code before, they are fixed now.