Removed .asarray, cleaned up line size, whitespace.