Scientists invent machine that can (sort of) read your mind