fixed bugs in MPSblas inprod and dot functions