OCT simulation in matlab