You might check out the astrophysics package for Python and see if it looks interesting. Python is a popular language these days and it is free. A lot of scientific work is being done with it.
See https://pythonhosted.org/Astropysics/
Here are two versions of Linux (freely downloadable) that are designed for scientific research (the second one is oriented towards bioinformatics, but still interesting)