separated out FitsImage into it's own file, implemented pixel2equa and added tests