Adjusted code to work with OpenModelica.

This is for #21.
Adjusted code to work with OpenModelica.

This is for #21.
Revised media.

This is for #21.