Added abs and correct maj in simplieSat

Also added the UTF8 encoding at the begining of the file