Fixed input.oct for compatibility with input.m.