Octave: Ensure the necessary packages are loaded
Add a range for the computation of "a" for compatibility with Octave