added nocco octave implementation