Update instaindex function
New aliphatic index function