There is a problem. How to expose double* return methods - it should return some iterable object instead (may be).
misc