added fromArray static method
slice method now handles arrays of rect data for non grid based sprite maps