Ocean Power Technology slashes losses