convenience function logspace_cumsum added