Implemented polytrope